home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / iritsm3s.zip / makeflag.dos < prev    next >
Text File  |  1992-03-10  |  2KB  |  79 lines

  1. #
  2. # All libraries created will be installed into the LIB directory.
  3. #
  4. LIB_DIR = c:\bc\mylib
  5. CAGD_LIB = $(LIB_DIR)\cagd_lib.lib
  6. INTR_LIB = $(LIB_DIR)\intr_lib.lib
  7. MISC_LIB = $(LIB_DIR)\misc_lib.lib
  8. GIF_LIB = $(LIB_DIR)\gif_libl.lib
  9.  
  10. #
  11. # Where Borland libraries are to searched for.
  12. #
  13. TC_LIB_DIR = c:\bc\lib
  14.  
  15. #
  16. # All includes files associated with the libraries compiled here will be
  17. # installed into the INC directory.
  18. #
  19. INC_DIR = c:\bc\myinclud
  20.  
  21. #
  22. # All binaries created will be installed into the BIN directory.
  23. #
  24. BIN_DIR = c:\c\irit\bin
  25.  
  26. #
  27. # Flags for compiler/linker:
  28. #
  29. # 8088 flags
  30. #
  31. # CFLAGS = -ml -a- -f -G -O -r -c -d -w -v- -y- -N- -k-
  32. # LFLAGS = /x/c
  33. #
  34. # 80286/80287 flags:
  35. #
  36. # CFLAGS = -ml -a- -f287 -1 -G -O -r -c -d -w -v- -y- -N- -k-
  37. # LFLAGS = /x/c
  38. #
  39. # Debug flags:
  40. #
  41. # CFLAGS = -ml -a- -f -c -d -w -v -y -N -k
  42. # LFLAGS = /v/c
  43. #
  44. # 8088 flags for Borland C++ 3.0 optimized for size.
  45. # Change -O1 to -O2 for speed optimization.
  46. # Warning: You may use -pr options for all tools but IRIT.
  47. #
  48. CFLAGS = -ml -a- -f -G- -O1 -r -c -d -w -v- -y- -N- -k-
  49. LFLAGS = /x/c
  50.  
  51. #
  52. # Math lib can be one of emu.lib (80x87 emulation) or fp87.lib.
  53. #
  54. MATHLIB = emu.lib
  55.  
  56. # Your C compiler and linker.
  57. CC = bcc
  58. LNK = tlink
  59.  
  60. #
  61. # Default rule for compilation.
  62. #
  63. # The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
  64. # choke on them (the { } signals batch mode that combines few operation at the
  65. # same time - very nice feature!).
  66. .c.obj:
  67.     $(CC) -I. -I$(INC_DIR) $(CFLAGS) {$< }
  68.  
  69. #
  70. # All libraries.
  71. #
  72. LIBS = $(CAGD_LIB) $(INTR_LIB) $(MISC_LIB) $(GIF_LIB) \
  73.        $(TC_LIB_DIR)\graphics.lib \
  74.        $(TC_LIB_DIR)\$(MATHLIB) \
  75.        $(TC_LIB_DIR)\mathl.lib \
  76.        $(TC_LIB_DIR)\cl.lib
  77.  
  78.  
  79.